//
/******************************************************
        File name:    main.c
        Author:       Bitat (陆叁柒)
        Gitee :       https://gitee.com/bitat
        Email :       737166381@qq.com
        History:      2023/1/8
*******************************************************/



//求100-200内的质数（素数）
#include <stdio.h>

int main()
{
    int i = 0;
    int j = 0;
    int count = 0;
    for(i = 101; i < 200; i+=2)
    {
        for(j = 2; j <= i; j++)
        {
            if(i % j == 0)
            {
                break;
            }
        }
        if(i == j)
        {
            printf("%d ",i);
            count++;
        }
    }
    printf("\ncount = %d\n",count);
    
    return 0;
}
